package com.my.mymafengwo.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.example.smallstrong.mafengwopro.R;
import com.my.mymafengwo.base.BaseActivity;

/**
 * Created by smallstrong on 2015/12/6.
 * step
 */
public class MineSettingActivity extends BaseActivity implements View.OnClickListener{
    /**
     * 返回按键
     */
    private ImageView ivBack;

    @Override
    protected void loadXml() {
        setContentView(R.layout.activity_mine_setting);
    }

    @Override
    protected void getIntentData(Bundle savedInstanceState) {

    }

    @Override
    protected void initViews() {
        ivBack = (ImageView) findViewById(R.id.iv_icon_back_orange);

    }

    @Override
    protected void registerListener() {
        ivBack.setOnClickListener(this);
    }

    @Override
    protected void initData() {

    }

    /**
     * 我的界面点击事件的处理
     * @param v
     */
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.iv_icon_back_orange :
                finish();
                break;
        }
    }
}
